{% extends "admin/change_form.html" %}
{% load i18n %}
{% block object-tools %}
{% if change %}{% if not is_popup %}
  <ul class="object-tools">
	{% if not original.is_public %}
	<li><a href="{% url miraflores_admin_report_not_spam original.id %}" class="historylink">Mark as not spam</a></li>
	{% else %}
	<li><a href="{% url miraflores_admin_report_spam original.id %}" class="historylink">Report as spam</a></li>
	{% endif %}
    <li><a href="mylink/" class="historylink">My Link</a></li>
    {% if has_absolute_url %}
        <li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">
            {% trans "View on site" %}</a>
        </li>
    {% endif%}
  </ul>
{% endif %}{% endif %}
{% endblock %}
